﻿using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace SharedServiceLibrary
{
    [DataContract]
    [Serializable]
    public class Pump
    {
        [DataMember]
        [XmlAttribute("capacity")]
        public double Capacity { get; set; }

        [DataMember]
        [XmlIgnore]
        public bool Running { get; set; }
    }
}
